import { Result, Button } from 'antd';
import React, { Component } from 'react'

export default class no extends Component {
    constructor(props){
        super(props)
    }
    jumpindex(){
        this.props.history.push("/index")
    }
    render() {
        return (
            <div>
                <Result
                    status="404"
                    title="404"
                    subTitle="非常抱歉，您访问的页面不存在."
                    extra={<Button type="primary" onClick={this.jumpindex.bind(this)}>回到首页</Button>}
                />
            </div>
        )
    }
}
